<div class="zs-ibox">
	<div class="zs-btnbox">
		<div class="zs-location"> 
	            <a href="#" class="home" ng-click="BackTOTask();"><span>运营管理</span></a> <i class="arrow"></i> 
	            <a href="#"><span>日常巡检</span></a> 
   		</div>
  		<input type="button" value="返回" class="zs-btn" style="float: right;" ng-click="BackTOTask();">
	</div>
	<table  class="zs-form-tab">
         <tbody>
         	 <tr>
	           <td style="width: 4%">任务单号</td>
	           <td style="width: 45%"> 
	            	<input type="text" class="zs-input" ng-model="queryObject.taskCode" style="width: 240px"/>
	           </td>
         	</tr>
             <tr>
             <td>日常巡检分类：</td>
               <td>                
                  	<ul class="zs-data-sizer">
						<li ng-repeat="curRow in dailyInspectionType" ng-class="{selected:curRow.selected}" >
							<a href="#" ng-click="toggleInspectionType(curRow)">{{curRow.S_DOMAINCAPTION}}</a>
						</li>
					</ul>
               </td>
             </tr>
             <tr>
              <td>时间：</td>
               <td>
              <label>起始日期</label>
              &nbsp;
              <ag-Datebox class="zs-input" ng-model="queryObject.start" ></ag-Datebox>
						&nbsp;
			   <label>结束日期</label>
			   &nbsp;
			   <ag-Datebox class="zs-input"  ng-model="queryObject.end" ></ag-Datebox>
				<input type="button" value="查询" class="zs-btn" ng-click="getDailyInspectionList()"> 
              	<input type="button" value="导出报表" ng-show="httpData.DailyInspectionList.data.length>0" class="zs-btn" ng-click="exportDoc();">
              	<input type="button" value="查看异常情况" ng-show="hasException" class="zs-btn" ng-click="showException();">
              </td>
             </tr>
		</tbody>
	</table>
	<div style="overflow:auto;height:{{Map_H - 300}}px">
		<table class="zs-data-tab" width="100%">
			<thead>
	            <tr>
	                <th class="head">污染源</th>
	                <th class="head">监测点</th>
	                <th class="head">日常巡检分类</th>
	                <th class="head">巡检项</th>
	                <th class="head">是否执行</th>
	                <th class="head">结果</th>
	                <th class="head">运维组</th>
	                <th class="head">巡检日期</th>
	                <th class="head">日常巡检周期（开始）</th>
	                <th class="head">日常巡检周期（结束）</th>
	            </tr>
        	</thead>
        	<tbody>
           		<tr ng-repeat="curRow in filteredDisplayList" class="{{ isDoubleNum($index) ? 'even':'' }}">
		    		<td class="center">
		        		<a><label ng-bind="curRow.WWTP_NAME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.FLOW_TYPE"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.INSPECTION_TYPE"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.INSPECTION_ITEM"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.IS_DONE"></label></a>
				    </td>
				    <td class="center"  ng-class="{datared:(curRow.RESULT!='1')}">
				        <a><label ng-bind="curRow.RESULT_CAPTION"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.GROUP_NAME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.FINISH_TIME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.START_TIME"></label></a>
				    </td>
				    <td class="center">
				        <a><label ng-bind="curRow.END_TIME"></label></a>
				    </td>
				</tr>  
        	</tbody>
    	</table>
    </div>
    <div class="zs-page"> 
	        <a ng-click="waterDataCommon.firstPage(httpData.DailyInspectionList,queryObject)">首页</a>
	        <a class="pre" ng-click="waterDataCommon.prePage(httpData.DailyInspectionList,queryObject)">上一页</a>
	        <a class="next" ng-click="waterDataCommon.nextPage(httpData.DailyInspectionList,queryObject)">下一页</a>
	        <a ng-click="waterDataCommon.lastPage(httpData.DailyInspectionList,queryObject)">尾页</a>
			        共<strong><label ng-bind="httpData.DailyInspectionList.pageInfo.rowCount"></label></strong>条数据 - 
			        第<strong><label ng-bind="httpData.DailyInspectionList.pageInfo.pageIndex"></label></strong>页 - 
			        共<strong><label ng-bind="httpData.DailyInspectionList.pageInfo.pageCount"></label></strong>页
	</div>
</div>
